package com.wolf.etl.enumeration;

/**
 * Created by tommy's father on 2017/8/25.
 */
public enum CONVERT_RULE_TYPE {
    CONVERT_BY_API("CONVERT_BY_API"),
    CONVERT_BY_FORMULA("CONVERT_BY_FORMULA"),
    CONVERT_BY_REFERENCE("CONVERT_BY_REFERENCE");
    private String convertRuleType;

    CONVERT_RULE_TYPE(String convertRuleType) {
        this.convertRuleType = convertRuleType;
    }

    public boolean isEquals(String convertRuleType) {
        return this.convertRuleType.equalsIgnoreCase(convertRuleType);
    }

    public String getConvertRuleType() {
        return convertRuleType;
    }

    public void setConvertRuleType(String convertRuleType) {
        this.convertRuleType = convertRuleType;
    }
}
